package com.ssm.dao;

import com.ssm.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {
	List<User> finUser(User user) throws Exception;
	List<User> getUser(User user) throws Exception;
	int deleteUser(User user) throws Exception;
	int addUser(User user)throws Exception;
	int updateUser(User user)throws Exception;
	User queryByUserName(String name) throws Exception;
	List<User> getAll()throws Exception;
}
